//
//  YKTabBar.h
//  youkan
//
//  Created by mac mini on 16/2/24.
//  Copyright © 2016年 Honsintech. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YKTabBar;
@protocol YKTabBarDelegate <NSObject>

@optional
/** TabBar上的按钮被点击时调用的代理 */
-(void)tabBar:(YKTabBar*)tabBar didClickButton:(NSInteger)index;
/** 点击中间➕号调用的方法 */
-(void)tabBarDidClickPlusButton:(YKTabBar*)plusButton;
@end

@interface YKTabBar : UIView
//@property (nonatomic, assign) NSUInteger tabBarButtonCount;

//!>  items:保存每一个按钮对应tabBarItem模型
@property(nonatomic,strong)NSArray<UITabBarItem*> *items;

@property (nonatomic, weak)id<YKTabBarDelegate> delegate;

@end
